package com.tangyuan.live.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tangyuan.common.result.Result;
import com.tangyuan.model.live.LiveGroup;
import com.tangyuan.model.live.LiveRoom;

import java.util.Date;
import java.util.List;

public interface LiveGroupService extends IService<LiveGroup> {

    Result<String> createGroup(LiveRoom room);

    void destroyGroup(String groupId);

    Date getMaxNoCloseLiveTime();

    void setCutoffLive(List<String> groupId);
}
